package com.hrm.model.dao;

import java.util.List;

import com.hrm.model.dto.org.OrgBaseDTO;
import com.hrm.model.dto.org.OrgCountDTO;
import com.hrm.model.dto.org.OrgPersonDTO;
import com.hrm.model.dto.org.OrgViewDTO;
import com.hrm.model.dto.org.TreeDTO;

public interface OrgDAO {
	
	public OrgBaseDTO getOrgbase(OrgBaseDTO dto);
	public List<OrgBaseDTO> getAllOrgbase();
	public OrgCountDTO getOrgCount(OrgViewDTO dto);
	public List<OrgViewDTO> getOrgView(OrgViewDTO dto);

	public boolean updateOrgBase(OrgBaseDTO dto);
	public boolean insertOrgBase(OrgBaseDTO dto);
	public boolean endOrgBase(OrgBaseDTO dto);
	
	public boolean insertOrgperson(OrgPersonDTO dto);
	public boolean endOrgperson(OrgPersonDTO dto);
	
		
	//tree
	public List<TreeDTO> getTree(String time);
}
